package com.itheima02;

public class Work07 {
    public static void main(String[] args) {
        Phone p1=new Phone("三星","绿色",300.34);
        Phone p2=new Phone("华为","黑色",2000.98);
        System.out.println(p1.toString());
        System.out.println(p2.toString());
    }
}
